import request from '../utils/request'

/**
 *
 * @param {Object} params - 商品id
 * @returns 返回商品详细信息数据
 */
export const getGoodsDetails = (id) => {
  return request(`/api/goods/${id}`, 'get')
}
